import { Route, Routes } from 'react-router-dom';
import Home from './pages/Home';
import ButtonPage from './pages/Components/general/Button';
import Icon from './pages/Components/general/Icon';
import Divider from './pages/Components/layout/Divider';
import Flex from './pages/Components/layout/Flex';
import FloatingButton from './pages/Components/general/FloatingButton';
import Grid from './pages/Components/layout/Grid';
import Typography from './pages/Components/general/Typography';
import Layout from './pages/Components/layout/Layout';
import Space from './pages/Components/layout/Space';
import Splitter from './pages/Components/layout/Splitter';

import Anchor from './pages/Components/nav/Anchor';
import Breadcrumb from './pages/Components/nav/Breadcrumb';
import Dropdown from './pages/Components/nav/Dropdown';
import Menu from './pages/Components/nav/Menu';
import Pagination from './pages/Components/nav/Pagination';
import Steps from './pages/Components/nav/Steps';

import AutoComplete from './pages/Components/data-entry/AutoComplete';
import Cascader from './pages/Components/data-entry/Cascader';
import Checkbox from './pages/Components/data-entry/Checkbox';
import ColorPicker from './pages/Components/data-entry/ColorPicker';
import DatePicker from './pages/Components/data-entry/DatePicker';
import Form from './pages/Components/data-entry/Form';
import Input from './pages/Components/data-entry/Input';
import InputNumber from './pages/Components/data-entry/InputNumber';
import Mentions from './pages/Components/data-entry/Mentions';
import Radio from './pages/Components/data-entry/Radio';
import Rate from './pages/Components/data-entry/Rate';
import Select from './pages/Components/data-entry/Select';
import Slider from './pages/Components/data-entry/Slider';
import Switch from './pages/Components/data-entry/Switch';
import TimePicker from './pages/Components/data-entry/TimePicker';
import Transfer from './pages/Components/data-entry/Transfer';
import TreeSelect from './pages/Components/data-entry/TreeSelect';
import Upload from './pages/Components/data-entry/Upload';

import Avatar from './pages/Components/data-show/Avatar';
import Badge from './pages/Components/data-show/Badge';
import Calendar from './pages/Components/data-show/Calendar';
import Card from './pages/Components/data-show/Card';
import Carousel from './pages/Components/data-show/Carousel';
import Collapse from './pages/Components/data-show/Collapse';
import Descriptions from './pages/Components/data-show/Descriptions';
import Empty from './pages/Components/data-show/Empty';
import Image from './pages/Components/data-show/Image';
import List from './pages/Components/data-show/List';
import Popover from './pages/Components/data-show/Popover';
import QRCode from './pages/Components/data-show/QRCode';
import Segmented from './pages/Components/data-show/Segmented';
import Statistic from './pages/Components/data-show/Statistic';
import Table from './pages/Components/data-show/Table';
import Tabs from './pages/Components/data-show/Tabs';
import Tag from './pages/Components/data-show/Tag';
import Timeline from './pages/Components/data-show/Timeline';
import Tooltip from './pages/Components/data-show/Tooltip';
import Tour from './pages/Components/data-show/Tour';
import Tree from './pages/Components/data-show/Tree';

import Alert from './pages/Components/feedback/Alert';
import Drawer from './pages/Components/feedback/Drawer';
import Message from './pages/Components/feedback/Message';
import Modal from './pages/Components/feedback/Modal';
import Notification from './pages/Components/feedback/Notification';
import Popconfirm from './pages/Components/feedback/Popconfirm';
import Progress from './pages/Components/feedback/Progress';
import Result from './pages/Components/feedback/Result';
import Skeleton from './pages/Components/feedback/Skeleton';
import Spin from './pages/Components/feedback/Spin';
import Watermark from './pages/Components/feedback/Watermark';

import Affix from './pages/Components/other/Affix';
import App from './pages/Components/other/Appp';
import ConfigProvider from './pages/Components/other/ConfigProvider';
// import Util from './pages/Components/other/Util';
const AppRoutes = () => {
  return (
    <Routes>
      <Route path="/" element={<Home />} />
      <Route path="/button" element={<ButtonPage />} />
      <Route path="/icon" element={<Icon />} />
      <Route path="/floatingButton" element={<FloatingButton />} />
      <Route path="/typography" element={<Typography />} />

      <Route path="/divider" element={<Divider />} />
      <Route path="/flex" element={<Flex />} />
      <Route path="/grid" element={<Grid />} />
      <Route path="/layout" element={<Layout />} />
      <Route path="/Space" element={<Space />} />
      <Route path="/Splitter" element={<Splitter />} />

      <Route path="/anchor" element={<Anchor />} />
      <Route path="/Breadcrumb" element={<Breadcrumb />} />
      <Route path="/Dropdown" element={<Dropdown />} />
      <Route path="/Menu" element={<Menu />} />
      <Route path="/Pagination" element={<Pagination />} />
      <Route path="/Steps" element={<Steps />} />
      <Route path="/AutoComplete" element={<AutoComplete />} />
      <Route path="/Cascader" element={<Cascader />} />
      <Route path="/Checkbox" element={<Checkbox />} />
      <Route path="/ColorPicker" element={<ColorPicker />} />
      <Route path="/DatePicker" element={<DatePicker />} />
      <Route path="/Form" element={<Form />} />
      <Route path="/Input" element={<Input />} />
      <Route path="/InputNumber" element={<InputNumber />} />
      <Route path="/Mentions" element={<Mentions />} />
      <Route path="/Radio" element={<Radio />} />
      <Route path="/Rate" element={<Rate />} />
      <Route path="/Select" element={<Select />} />
      <Route path="/Slider" element={<Slider />} />
      <Route path="/Switch" element={<Switch />} />
      <Route path="/TimePicker" element={<TimePicker />} />
      <Route path="/Transfer" element={<Transfer />} />
      <Route path="/TreeSelect" element={<TreeSelect />} />
      <Route path="/Upload" element={<Upload />} />

      <Route path="/Avatar" element={<Avatar />} />
      <Route path="/Badge" element={<Badge />} />
      <Route path="/Calendar" element={<Calendar />} />
      <Route path="/Card" element={<Card />} />
      <Route path="/Carousel" element={<Carousel />} />
      <Route path="/Collapse" element={<Collapse />} />
      <Route path="/Descriptions" element={<Descriptions />} />
      <Route path="/Empty" element={<Empty />} />
      <Route path="/Image" element={<Image />} />
      <Route path="/List" element={<List />} />
      <Route path="/Popover" element={<Popover />} />
      <Route path="/QRCode" element={<QRCode />} />
      <Route path="/Segmented" element={<Segmented />} />
      <Route path="/Statistic" element={<Statistic />} />
      <Route path="/Table" element={<Table />} />
      <Route path="/Tabs" element={<Tabs />} />
      <Route path="/Tag" element={<Tag />} />
      <Route path="/Timeline" element={<Timeline />} />
      <Route path="/Tooltip" element={<Tooltip />} />
      <Route path="/Tour" element={<Tour />} />
      <Route path="/Tree" element={<Tree />} />
      <Route path="/Alert" element={<Alert />} />
      <Route path="/Drawer" element={<Drawer />} />
      <Route path="/Message" element={<Message />} />
      <Route path="/Modal" element={<Modal />} />
      <Route path="/Notification" element={<Notification />} />
      <Route path="/Popconfirm" element={<Popconfirm />} />
      <Route path="/Progress" element={<Progress />} />
      <Route path="/Result" element={<Result />} />
      <Route path="/Skeleton" element={<Skeleton />} />
      <Route path="/Spin" element={<Spin />} />

      <Route path="/Watermark" element={<Watermark />} />
      <Route path="/Affix" element={<Affix />} />
      <Route path="/App" element={<App />} />
      <Route path="/ConfigProvider" element={<ConfigProvider />} />



    </Routes>
  );
};

export default AppRoutes;